using System;
using System.Collections;
using System.Collections.Generic;

using Framework.Library.Base;

namespace Framework.Library.Domain
{
    public partial class PortalPortal : BusinessBase<int>
    {
        #region Declarations

		
		private int _portalParentid = default(Int32);
		private string _name = String.Empty;
		private string _description = String.Empty;
		private bool _visible = default(Boolean);
		private bool _enable = default(Boolean);
		private int _language = default(Int32);
		private int _theme = default(Int32);
		private string _imageUrl = String.Empty;
		private int _priority = default(Int32);
		
		
		private IList<PortalPersonaluser> _portalPersonalusers = new List<PortalPersonaluser>();
		private IList<PortalTab> _portalTabs = new List<PortalTab>();
		
        #endregion

        #region Constructors

        public PortalPortal() { }

        #endregion

        #region Methods

        public override int GetHashCode()
        {
            System.Text.StringBuilder sb = new System.Text.StringBuilder();
            
            sb.Append(this.GetType().FullName);
			sb.Append(_portalParentid);
			sb.Append(_name);
			sb.Append(_description);
			sb.Append(_visible);
			sb.Append(_enable);
			sb.Append(_language);
			sb.Append(_theme);
			sb.Append(_imageUrl);
			sb.Append(_priority);

            return sb.ToString().GetHashCode();
        }

        #endregion

        #region Properties

		public virtual int PortalParentid
        {
            get { return _portalParentid; }
			set
			{
				
				_portalParentid = value;
				
			}
        }
		
		public virtual string Name
        {
            get { return _name; }
			set
			{
				
				_name = value;
				
			}
        }
		
		public virtual string Description
        {
            get { return _description; }
			set
			{
				
				_description = value;
				
			}
        }
		
		public virtual bool Visible
        {
            get { return _visible; }
			set
			{
				
				_visible = value;
				
			}
        }
		
		public virtual bool Enable
        {
            get { return _enable; }
			set
			{
				
				_enable = value;
				
			}
        }
		
		public virtual int Language
        {
            get { return _language; }
			set
			{
				
				_language = value;
				
			}
        }
		
		public virtual int Theme
        {
            get { return _theme; }
			set
			{
				
				_theme = value;
				
			}
        }
		
		public virtual string ImageUrl
        {
            get { return _imageUrl; }
			set
			{
				
				_imageUrl = value;
				
			}
        }
		
		public virtual int Priority
        {
            get { return _priority; }
			set
			{
				
				_priority = value;
				
			}
        }
		
		public virtual IList<PortalPersonaluser> PortalPersonalusers
        {
            get { return _portalPersonalusers; }
            set
			{
				
				_portalPersonalusers = value;
				
			}
        }
		
		public virtual IList<PortalTab> PortalTabs
        {
            get { return _portalTabs; }
            set
			{
				
				_portalTabs = value;
				
			}
        }
		
        #endregion
    }
}
